package com.project.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.project.bean.MouseBean;

/**
 * @author RJ
 * @date 2022/9/14 17:10
 */
public interface IMouseService extends IService<MouseBean> {
    //添加新鼠害
    void addMouse(MouseBean mouseBean);

    //查看详细信息
    MouseBean getMouseInfo(Integer mouseId);

    //根据鼠害名称查询鼠害信息，实现分页
    IPage<MouseBean> cutMouseByItem(Integer pageNo, Integer pageSize, String mouseName);
}
